package ${package}.entity;

<#list javaClassSet as javaClass>
import ${javaClass};
</#list>
<#if config.entityJavaConfig.isUseLombok == true>
import lombok.Getter;
import lombok.Setter;
</#if>
<#if config.controllerJavaConfig.isUserSwagger == true>
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
</#if>

 
/**
 * 	${table.tableComment}  实体类
<#if config.commentConfig.isAddAuthorComment == true>
 *	@author ${author}
 </#if>
  <#if config.commentConfig.isAddDateComment == true>
 *	@Date ${date}
 </#if>
 * */
<#if config.controllerJavaConfig.isUserSwagger == true>
@ApiModel(description = "${table.tableComment}  实体类")
</#if>
<#if config.entityJavaConfig.isUseLombok == true>
@Setter
@Getter
</#if>
public class ${entityClassName}{

	<#list table.tableColumnList as column>
    /**
     * 	${column.columnComment} 
     */
    <#if config.controllerJavaConfig.isUserSwagger == true>
	@ApiModelProperty(value = "${column.columnComment}")
	</#if>
    private ${column.javaType} ${column.columnNameHump};
    </#list>

<#if config.entityJavaConfig.isUseLombok == false>
	<#list table.tableColumnList as column>
	/**
	 <#if config.commentConfig.isAddFunctionComment == true>
     * 	${column.columnNameHump}（ ${column.columnComment} ）的 set方法
     </#if>
     <#if config.commentConfig.isAddParamComment == true>
 	 *	@param  ${column.columnNameHump}   ${column.columnComment} 
 	 </#if>
     <#if config.commentConfig.isAddAuthorComment == true>
     *	@author ${author}
     </#if>
      <#if config.commentConfig.isAddDateComment == true>
 	 *	@Date ${date}
 	 </#if>
     */
	public void set${column.columnNameHumpUpFirst}( ${column.javaType} ${column.columnNameHump} ){
		this.${column.columnNameHump} = ${column.columnNameHump};
	}
	
	</#list>
	
	
	<#list table.tableColumnList as column>
	/**
	 <#if config.commentConfig.isAddFunctionComment == true>
     * 	${column.columnNameHump}（ ${column.columnComment} ）的 get方法
     </#if>
     <#if config.commentConfig.isAddReturnComment == true>
 	 *	@return  ${column.columnNameHump}  ${column.columnComment} 
 	 </#if>
     <#if config.commentConfig.isAddAuthorComment == true>
     *	@author ${author}
     </#if>
      <#if config.commentConfig.isAddDateComment == true>
 	 *	@Date ${date}
 	 </#if>
     */
	public ${column.javaType} get${column.columnNameHumpUpFirst}(){
		return this.${column.columnNameHump};
	}
	
	</#list>
</#if>

}